<?php
//
// Book Chapter Class
// The SDMworld! Network
//

class cObj65cd3f09dc8f11db83140800200c9a66 extends cDycmsObject
{
	protected $mClsId = '65cd3f09dc8f11db83140800200c9a66';
	
	private $mTitle;
	private $mContent;
	
	function Render(IDycmsClient &$r_client)
	{
		global $gViewerUrl;
		
		$r_client->ContentNode()->AddChild(new cUiPageHeader("<h1>{$this->mTitle}</h1>"));
		
		//
		// Create content holder node
		//
		
		$r_client->ContentNode()->AddChild($page = new cUiPageBody());
		
		$page->AddChild(new cHtmlCode($this->mAbstract));
	}
	
	function GetSummary()
	{
		return $this->mTitle;
	}
	
	function LoadObject()
	{
		$this->mAttributes = dbReadObject($this->mClsId, $this->mId);
		
		$this->mSummaryValue['title'] = true;
		
		$this->mTitle = &$this->mAttributes['title'];
		$this->mContent = &$this->mAttributes['content'];
	}
	
	function GetAttributes($bVals)
	{
		if($bVals)
		{
			
		}
		else
		{
			return array('title');
		};
	}
}

?>